ossCreate
Description
Create Oss instance
Request Method
POST
Request Path
/customer/oss/create
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
resourcePlanType | BODY | string | Yes | No sample value for this parameter. | resource plan type,StandardStoragePackage/OutboundTrafficPlan |
period | BODY | integer | Yes | No sample value for this parameter. | period |
cost | BODY | number | Yes | No sample value for this parameter. | cost |
regionId | BODY | string | Yes | No sample value for this parameter. | region |
billingMethod | BODY | string | Yes | No sample value for this parameter. | billing method |
voucherInstanceId | BODY | string | Yes | No sample value for this parameter. | Voucher instance id |
pricingCycle | BODY | string | Yes | No sample value for this parameter. | No description for this parameter. |
couponInstanceId | BODY | string | Yes | No sample value for this parameter. | Coupon instance id |
capacity | BODY | integer | Yes | No sample value for this parameter. | package capacity, GB |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
result | object | `{"instanceId":"OSS-OPT339848584402317312","orderId":2.02207261916529997E+18}` | No description for this parameter. |
resultCode | string | 0 | No description for this parameter. |
resultMsg | string | success | No description for this parameter. |
Example
Successful Response example
{
"result":
{
"instanceId":"OSS-OPT339848584402317312",
"orderId":2.02207261916529997E+18
},
"resultCode":"0",
"resultMsg":"success"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}